//
//  MeTableViewCell.swift
//  GFWB
//
//  Created by iSolar on 2017/4/19.
//  Copyright © 2017年 iSolar. All rights reserved.
//

import UIKit

class MeTableViewCell: UITableViewCell {

    @IBOutlet weak var iconView: UIImageView!
    
    @IBOutlet weak var titleLabel: UILabel!
    
    @IBOutlet weak var arrowView: UIImageView!
    
    //MARK:- 定义属性
    var iconImg: UIImage?{
        didSet {
            if iconImg != nil {
                iconView.image = iconImg
            } else {
                iconView.image = UIImage(named:"defaultImg")
            }
        }
    }
    
    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
        
        if selected {
            self.backgroundColor = UIColor.white
        }else {
            self.backgroundColor = UIColor.white
        }
    }

}
